import request from '@/utils/request'

// 导出维修申请数据
export function exportRepairs(params) {
  return request({
    url: '/repair/export',
    method: 'get',
    params,
    responseType: 'blob'
  })
}

// 获取指定维修人员的维修申请列表
export function getRepairsByAssignee(assigneeId) {
  return request({
    url: `/repair/assignee/${assigneeId}`,
    method: 'get'
  })
} 